<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
   <title>佐心，教家长做父母</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="assets/css/amazeui.min.css">
    <link rel="stylesheet" href="assets/css/style.css?v=2.3">
    <link rel="stylesheet" href="assets/css/index.css?v=2.3">
    <script>
    	    /** 
     * 返回前一页（或关闭本页面） 
     * <li>如果没有前一页历史，则直接关闭当前页面</li> 
     */  
    function goBack(){  
        if ((navigator.userAgent.indexOf('MSIE') >= 0) && (navigator.userAgent.indexOf('Opera') < 0)){ // IE  
            if(history.length > 0){  
                window.history.go( -1 );  
            }else{  
                location.href="${ctx}/index.jsp";
            }  
        }else{ //非IE浏览器  
            if (navigator.userAgent.indexOf('Firefox') >= 0 ||  
                navigator.userAgent.indexOf('Opera') >= 0 ||  
                navigator.userAgent.indexOf('Safari') >= 0 ||  
                navigator.userAgent.indexOf('Chrome') >= 0 ||  
                navigator.userAgent.indexOf('WebKit') >= 0){  
      
                if(window.history.length > 1){  
                    window.history.go( -1 );  
                }else{  
                    location.href="${ctx}/index.jsp";
                }  
            }else{ //未知的浏览器  
                window.history.go( -1 );  
            }  
        }  
    }  
    </script>
</head>
<body class="bg-white">
<header data-am-widget="header" class="am-header am-header-default am-header-fixed am-border-bottom">
    <div class="am-header-left am-header-nav">
        <a  onclick="goBack();"  >
            <i class="icon_8"></i>
        </a>
    </div>
    <h1 class="am-header-title">
        下单成功
    </h1>

</header>
<section class="am-padding-bottom-sm" id="amz-main" data-tag="css-nav">

    <!--下单成功-->
    <div class="icon_93 am-text-center font-color-white am-vertical-align">
        <div class="am-vertical-align-bottom am-padding-bottom-xs">下单成功</div>
    </div>

    <!--下单失败-->
    <!--<div class="icon_98 am-text-center font-color-white">-->
    <!--<div class="am-vertical-align-bottom am-padding-bottom-xs">下单失败</div>-->
    <!--</div>-->

    <div class="am-padding-left-sm am-padding-right-sm am-margin-top-sm">
        <div class="bg-gray font-14 am-padding-sm">
            <div class="font-color-13 prelative text-indent-2" >
                <i class="icon_5"></i>恭喜您，已成功下单，您的订单正在处理，咨询师会第一时间联系您，或者您可以联系客服。

            </div>
            <div class="font-color-13 prelative text-indent-2 am-margin-top-sm">
        <i class="icon_7"></i>
            注意，若咨询师在超过您约定的时间30分钟，
            还未与您线上沟通，则超时订单会自动取消。
            您可以补充基本信息，便于咨询师更便捷联系您。
            或者我们的客服会与您联系再进行补充。
                </div>
        </div>
    </div>

    <div class="am-g">
        <div class="am-u-sm-6">
            <div class="btn-4 padding-left-0" onclick="window.location.href='myOrder.jsp'">查看全部订单</div>
        </div>
        <div class="am-u-sm-6">
            <div class="btn-4 padding-left-0" onclick="window.location.href='buchongziliao.jsp'">补充基本信息</div>
        </div>
    </div>

    <div class="font-13 am-text-center font-color-12 margin-top-100">
        <div><span class="prelative padding-left-25"><i class="icon_94"></i>客服电话：0591-88888888</span></div>
        <div class="am-margin-top-xs"><span class="prelative padding-left-25"><i class="icon_97"></i>服务时间：周一至周天 8:00-24:00</span></div>
    </div>


</section>


<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/amazeui.min.js"></script>

</body>
</html>